package com.lottery.ruok.lottrey.chat.event.handler;

import android.content.Context;
import android.view.View;

import com.lottery.ruok.lottrey.chat.model.prize.message.PrizeMessage;
import com.lottery.ruok.lottrey.chat.model.redpacket.message.sendRedPacketMessage.RedPacketMessage;

import io.rong.imlib.model.Conversation;
import io.rong.imlib.model.Message;
import io.rong.imlib.model.UserInfo;

public interface OnConversationClickListener {
    /**
     * 大赏
     *
     * @param context
     * @param conversationType
     * @param user
     * @param targetId
     */
    void onSendPrize(Context context, Conversation.ConversationType conversationType, UserInfo user, String targetId);

    /**
     * 抢红包
     *
     * @param content
     * @param view
     * @param message
     * @return
     */
    void onReceiveRedPacket(Context context, View view, RedPacketMessage content, Message message);

    /**
     * 查看大赏详情
     *
     * @param context
     * @param view
     * @param content
     * @param message
     */
    void showPrizeDetail(Context context, View view, PrizeMessage content, Message message);
}